7b81f963fb4b297723077ed6acef608198d4bb38,testsuite/integration/clust/src/test/java/org/jboss/as/test/clustering/cluster/ejb3/stateful/passivation/ClusterPassivationTestCase.java,ClusterPassivationTestCase,stopAndClean,#ManagementClient#ManagementClient#,431

Before Change


        // unset & undeploy & stop
        if(client1.isServerInRunningState()) {
            unsetPassivationAttributes(client1.getControllerClient());
            deployer.undeploy(DEPLOYMENT_1);
            controller.stop(CONTAINER_1);
        }
        if(client2.isServerInRunningState()) {

After Change


            unsetPassivationAttributes(client1.getControllerClient());
        }
        try {
            deployer.undeploy(DEPLOYMENT_1);
        } catch (Exception e) {
            log.warnf("Deployment %s can't be undeployed from container %s because of exception %s. " +
            		"Ignore this warning when server was already stopped by other test before.", DEPLOYMENT_1, CONTAINER_1, e.getClass().getName() + ": " + e.getMessage());